package com.yazi.mxz.behavior.jackson;

import java.util.HashMap;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.geo.Distance;
import org.springframework.data.geo.GeoResult;

import com.yazi.mxz.behavior.entity.repository.Category;
import com.yazi.mxz.behavior.entity.repository.GoodsClassify;
import com.yazi.mxz.behavior.entity.repository.Region;
import com.yazi.mxz.behavior.entity.repository.Store;
import com.yazi.mxz.behavior.entity.repository.StoreGoods;
import com.yazi.mxz.behavior.entity.repository.StoreGoodsAccess;
import com.yazi.mxz.behavior.jackson.mixin.CategoryMixIn;
import com.yazi.mxz.behavior.jackson.mixin.DistanceMixIn;
import com.yazi.mxz.behavior.jackson.mixin.GeoResultMixIn;
import com.yazi.mxz.behavior.jackson.mixin.GoodsClassifyMixIn;
import com.yazi.mxz.behavior.jackson.mixin.PageMixIn;
import com.yazi.mxz.behavior.jackson.mixin.RegionMixIn;
import com.yazi.mxz.behavior.jackson.mixin.StoreGoodsAccessMixIn;
import com.yazi.mxz.behavior.jackson.mixin.StoreGoodsMixIn;
import com.yazi.mxz.behavior.jackson.mixin.StoreMixIn;


public class MixInFactory {

	public Map<Class<?>, Class<?>> getMixIns() {
		Map<Class<?>, Class<?>> map = new HashMap<Class<?>, Class<?>>();
		map.put(Page.class, PageMixIn.class);
		map.put(Category.class, CategoryMixIn.class);
		map.put(GoodsClassify.class, GoodsClassifyMixIn.class);
		map.put(Region.class, RegionMixIn.class);
		map.put(GeoResult.class, GeoResultMixIn.class);
		map.put(Distance.class, DistanceMixIn.class);
		map.put(Store.class, StoreMixIn.class);
		map.put(StoreGoods.class, StoreGoodsMixIn.class);
		map.put(StoreGoodsAccess.class, StoreGoodsAccessMixIn.class);
		return map;
	}
	
}
